package com.isasc.demo.pooled.mypool;

/**
 * @author: ywy
 * @date: 2022-10-17
 * @desc:
 */
public class Test {
    public static void main(String[] args) {
        MyPool<ShareBike> pool = new MyPool<>(5);
        for (int i = 0; i < 10; i++) {
            new Thread(new Person(pool)).start();
        }
    }
}
